#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
float f(double x, int n)
{
	if (n == 0)
		return 1;
	else if (n > 0)
		return x * f(x, n - 1);

}
int main()
{
	int n;
	double x;
	scanf("%d %lf", &n, &x);

	printf("%.2f", f(x, n));
	return 0;
}